_skinName = _this select 1;

_playerClass = "";

_animPerson = _this select 0;

if (_animPerson == "") exitwith { Hint "Some how there was an error check your scripts : or You need to select a name in the player list , if you wish to activate it on all players then click all players or select an indevidiual name to perform that action onto. then click EXECUTE.";};

if (_animPerson == "ALL PLAYERS") then {_animPerson = "";};
if (_animPerson == "EVERYONE BUT ME") then {_animPerson = "FUCKEMGRANDPAIHATEJEWS";};



// ----------------------------------//
switch (_skinName) do
{
	case "Sniper aka Ghillie": 	// 
	{
	_Playerclass = "Sniper1_DZ";
	};
	case "Dog":
	{
	_playerclass = "Dog1";
	};
	case "Camo": 	// 
	{
	_Playerclass = "Camo1_DZ";
	};
        case "Hero": 	// 
	{
	_Playerclass = "Survivor3_DZ";
	};
        case "Bandit": 	// 
	{
	_Playerclass = "Bandit1_DZ";
	};
	case "Male": 	// 
	{
	_Playerclass = "Survivor2_DZ";
	};
	case "Female": 	// 
	{
	_Playerclass = "SurvivorW2_DZ";
	};
	case "Rocket": 	// 
	{
	_Playerclass = "Rocket_DZ";
	};
	case "Soldier": 	// 
	{
	_Playerclass = "Soldier1_DZ";
	};
	case "Zombie (USE ON OTHERS)": 	// 
	{
	_Playerclass = "z_soldier_pilot";
	};
	//--------------------------------------------------------------//
	
};

nil = [dayz_playerUID,dayz_characterID,_Playerclass] spawn player_humanityMorph;